package com.study.project.entity;

import java.io.Serializable;
import java.util.Date;

public class Employee implements Serializable {
    private static final long serialVersionUID = 578176287113192506L;
    private String id;

    private String username;

    private String address;

    private Date createTime;

    private String state;

    public Employee() {
        this.id = id;
    }

    public Employee(String id, String username, String address, Date createTime, String state) {
        this.id = id;
        this.username = username;
        this.address = address;
        this.createTime = createTime;
        this.state = state;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", address='" + address + '\'' +
                ", createTime=" + createTime +
                ", state='" + state + '\'' +
                '}';
    }
}